using System.Linq;
using System.Security.Principal;

namespace Home.Site.Models.Account
{
    public interface IAccountRepository
    {
        UserProfile GetUserById(int userId);
        void Save(UserProfile model);
        void BuildUser(LocalPasswordModel model, UserProfile user);
        LocalPasswordModel GetLocalUserById(int getUserId);
        IQueryable<UserProfile> All();
        UserProfile Find(int id);
        UserProfile GetUser(IPrincipal currentUser);
    }
}